Control circuit for measuring and regulating output current of CCM power converter

ABSTRACT

A switching control circuit is provided for measuring and regulating an output current of a power converter. The power converter is operated under continuous current mode. A detection circuit generates a continuous-current signal and a peak-current signal by detecting a switching current of an inductive device. An integration circuit generates an average-current signal in response to the continuous-current signal, the peak-current signal and an off time of a switching signal. The switching control circuit generates the switching signal in response to the average-current signal. The switching signal is coupled to switch the inductive device and regulate the output current of the power converter. A time constant of the integration circuit is correlated to the switching period of the switching signal, therefore the average-current signal will be proportional to the output current.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a power converter, and more particularly, to a control circuit of the power converter.

2. Description of Related Art

Various power converters have been widely used to provide regulated voltage and current. In order to reduce the device count and cost of the power converter, primary-side control technologies have been proposed, such as “Close-loop PWM controller for primary-side controlled power converters” by Yang, et al., U.S. Pat. No. 7,016,204; and “Apparatus and method thereof for measuring output current from primary side of power converter” by Yang, et al., U.S. Pat. No. 7,061,225, etc. However, these prior arts are developed for operating under discontinuous current mode (DCM), which may lower the power efficiency of the power converter. The illustration of the discontinuous current mode and continuous current mode (CCM) can be found in the “Adaptive slope compensator for current mode power converters” by Yang, U.S. Pat. No. 5,903,452.

It is hence important to develop an output current control circuit that can be operated at continuous current mode for achieving higher power efficiency of the power converter.

SUMMARY OF THE INVENTION

The present invention provides a control circuit for measuring and regulating an output current of a power converter which is operated in the continuous current mode. A detection circuit generates a continuous-current signal and a peak-current signal by detecting a switching current of a transformer. An integration circuit generates an average-current signal in response to the continuous-current signal, the peak-current signal and the off time of a switching signal. A switching control circuit is utilized to generate the switching signal in response to the average-current signal. The switching signal is coupled to switch the transformer and regulate the output current of the power converter. The switching control circuit further includes an oscillator to generate an oscillation signal for determining a switching frequency of the switching signal. A time constant of the integration circuit is correlated with the switching period of the switching signal.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a schematic diagram of a power converter.

FIG. 2 illustrates key waveforms of the conventional power converter operating in continuous current mode.

FIG. 3 illustrates a control circuit for measuring and regulating an output current of the power converter according to an embodiment of the present invention.

FIG. 4 illustrates a schematic circuit diagram of a sampling circuit according to an embodiment of the present invention.

FIG. 5 illustrates a schematic circuit diagram of a peak detector according to an embodiment of the present invention.

FIG. 6 illustrates waveforms of control signals of the sampling circuit according to an embodiment of the present invention.

FIG. 7 illustrates a schematic circuit diagram of an integration circuit according to an embodiment of the present invention.

FIG. 8 illustrates a schematic circuit diagram of an oscillator according to an embodiment of the present invention.

DESCRIPTION OF THE EMBODIMENTS

Referring to FIG. 1, a power converter is illustrated. The power converter includes an inductive device 10, which is a transformer in an embodiment of the present invention, having a primary winding N_(P) and a secondary winding N_(S). In order to regulate an output current I_(O) of the power converter, a control circuit 70 generates a switching signal V_(G) to switch the transformer 10 via a transistor 20. A primary-side switching current I_(P) is generated as the switching signal V_(G) is enabled (turned on). Referring to FIG. 2, a peak value I_(PA) of the primary-side switching current I_(P) is given by,

$\begin{matrix} {I_{PA} = {\frac{V_{IN}}{L_{P}} \times T_{ON}}} & (1) \end{matrix}$ where V_(IN) is an input voltage applied to the transformer 10, L_(P) is an inductance of the primary winding N_(P) of the transformer 10, T_(ON) is an on-time of the switching signal V_(G).

Once the switching signal V_(G) is disabled (turned off), the energy stored in the transformer 10 will be delivered to the secondary side of the transformer 10 and an output of the power converter via a rectifier 40. A peak value I_(SA) of a secondary-side switching current I_(S) can be given by,

$\begin{matrix} {I_{SA} = {\frac{\left( {V_{O} + V_{F}} \right)}{L_{S}} \times T_{DS}}} & (2) \end{matrix}$ where V_(O) is an output voltage of the power converter, V_(F) is a forward voltage dropped across the rectifier 40, L_(S) is a inductance of the secondary winding N_(S) of the transformer 10, and T_(DS) is a discharging time of the secondary-side switching current I_(S) under discontinuous current mode.

The discontinuous current mode of the power converter features that the energy in the transformer 10 is fully released before the next switching cycle starts. The continuous current mode features that the energy in the transformer 10 is not fully released as the next switching cycle starts. FIG. 2 shows the waveforms of the power converter operating under continuous current mode. A peak value I_(P(PEAK)) of the primary-side switching current I_(P) under continuous current mode is given by, I _(P(PEAK)) =I _(PA) +I _(PB)  (4)

$\begin{matrix} {I_{PA} = {\frac{V_{IN}}{L_{P}} \times T_{ON}}} & (5) \end{matrix}$ where I_(PB) represents the energy stored in the transformer 10.

Once the switching signal V_(G) is disabled, the energy stored in the transformer 10 will be delivered to the secondary side of the transformer 10. The secondary-side switching current I_(S) is determined by the primary-side switching current I_(P) and the winding turns of the transformer 10. A peak value I_(S(PEAK)) of the secondary-side switching current I_(S) can be given by,

$\begin{matrix} {I_{S{({PEAK})}} = {{\frac{T_{NP}}{T_{NS}} \times I_{P{({PEAK})}}} = {\frac{T_{NP}}{T_{NS}} \times \left( {I_{PA} + I_{PB}} \right)}}} & (6) \end{matrix}$ where T_(NP) is the winding turns of the primary winding N_(P) of the transformer 10; and T_(NS) is the winding turns of the secondary winding N_(S) of the transformer 10.

Referring to FIG. 1, a current-sense resistor 30 is coupled from a source of the transistor 20 to a ground reference for converting the switching current I_(P) to a switching-current signal V_(S) coupled to the control circuit 70.

Referring to FIG. 3, a schematic diagram of the control circuit 70 according to an embodiment of the present invention is illustrated. A detection circuit 300 including a sampling circuit 350 and a peak detector 450 generates a continuous-current signal V_(A) and a peak-current signal V_(B) respectively by measuring the switching-current signal V_(S). An oscillator 200 generates an oscillation signal PLS to determine the switching frequency of the switching signal V_(G). An integration circuit 500 is used to generate an average-current signal V_(I) by integrating the continuous-current signal V_(A) and the peak-current signal V_(B) with the off time T_(OFF) of the switching signal V_(G). The average-current signal V_(I) is produced in response to the continuous-current signal V_(A) and the peak-current signal V_(B). A time constant of the integration circuit 500 is correlated with a switching period T of the switching signal V_(G). The average-current signal V_(I) is therefore proportional to the output current I_(O) of the power converter.

A switching control circuit 100 includes an error amplifier 71 having a reference voltage V_(R) for output current control. The switching control circuit 100 further includes a comparator 75 associated with a flip-flop 95, an inverter 93 and an AND gate 92 controlling the pulse width of the switching signal V_(G) in response to an output of the error amplifier 71. The error amplifier 71 amplifies the average-current signal V_(I) and provides a loop gain for output current control. A current control loop is formed from the detection of the primary-side switching current I_(P) to the modulation of the pulse width of the switching signal V_(G). The current control loop controls the magnitude of the primary-side switching current I_(P) in accordance with the reference voltage V_(R). The secondary-side switching current I_(S) is a ratio of the primary-side switching current I_(P) as shown in equation (6). Referring to the waveform in FIG. 3, the average of the secondary-side switching current I_(S) represents the output current I_(O) of the power converter. The output current I_(O) of the power converter can be expressed by,

$\begin{matrix} {I_{O} = {\left( {I_{SB} \times \frac{T_{OFF}}{T}} \right) + \left( {I_{SA} \times \frac{T_{OFF}}{2T}} \right)}} & (7) \end{matrix}$ where T_(OFF) represents the off time of the switching signal V_(G) under continuous current mode. The output current I_(O) of the power converter is therefore regulated.

The primary-side switching current I_(P) is converted to the switching-current signal V_(S) across the current-sense resistor 30. The detection circuit 300 detects the switching-current signal V_(S) and generates the continuous-current signal V_(A) and the peak-current signal V_(B). The average-current signal V_(I) is designed by,

$\begin{matrix} {{V_{I} = {\left( {V_{A} + \frac{V_{B} - V_{A}}{2}} \right) \times \frac{T_{OFF}}{T_{I}}}}{where}} & (8) \\ {V_{B} = {\frac{T_{NS}}{T_{NP}} \times R_{S} \times \left( {I_{SA} + I_{SB}} \right)}} & (9) \\ {V_{A} = {\frac{T_{NS}}{T_{NP}} \times R_{S} \times I_{SB}}} & (10) \end{matrix}$ where T_(I) is the time constant of the integration circuit 500.

Referring to equations (7)-(10), the average-current signal V_(I) can be rewritten as,

$\begin{matrix} {V_{I} = {\frac{T}{T_{I}} \times \frac{T_{NS}}{T_{NP}} \times R_{S} \times I_{O}}} & (11) \end{matrix}$ It is noted that the average-current signal V_(I) is proportional to the output current I_(O) of the power converter. The average-current signal V_(I) increases whenever the output current I_(O) increases. However, the maximum value of the average-current signal V_(I) is limited to the value of the reference voltage V_(R) through the regulation of the current control loop. Under feedback control of the current control loop, a maximum output current I_(O(MAX)) is given by,

$\begin{matrix} {I_{O{({MAX})}} = {\frac{T_{NP}}{T_{NS}} \times \frac{G_{A} \times G_{SW} \times V_{R\; 1}}{1 + \left( {G_{A} \times G_{SW} \times \frac{R_{S}}{K}} \right)}}} & (12) \end{matrix}$ where K is a constant equal to T_(I)/T, V_(R1) is the value of the reference voltage V_(R), G_(A) is the gain of the error amplifier 71, and G_(SW) is the gain of the switching circuit. If the loop gain of the current control loop is high (G_(A)×G_(SW)>>1), the maximum output current I_(O(MAX)) is given by,

$\begin{matrix} {I_{O{({MAX})}} = {K \times \frac{T_{NP}}{T_{NS}} \times \frac{V_{R\; 1}}{R_{S}}}} & (13) \end{matrix}$

The maximum output current I_(O(MAX)) of the power converter is thus regulated as a constant current in accordance with the reference voltage V_(R).

The oscillation signal PLS sets the D flip-flop 95 via the inverter 93. An output of the D flip-flop 95 is coupled to a first input of the AND gate 92. A second input of the AND gate 92 is coupled to an output of the inverter 93. An output of the AND gate 92 generates the switching signal V_(G). The D flip-flop 95 is reset by an output of the comparator 75. A positive input of the comparator 75 is coupled to an output of the error amplifier 71. A negative input of the comparator 75 is supplied with a ramp signal RMP that is provided by the oscillator 200. The output of the comparator 75 can reset the D flip-flop 95 for shortening the pulse width of the switching signal V_(G) so as to regulate the output voltage V_(O) and the output current I_(O).

FIG. 4 illustrates a schematic circuit diagram of the sampling circuit 350. Switches 351, 352 and 353 are coupled to receive the switching-current signal V_(S). The switch 351 is connected to a first terminal of a capacitor 361. A second terminal of the capacitor 361 is connected to the ground reference. The switch 352 is connected to a first terminal of a capacitor 362. A second terminal of the capacitor 362 is connected to the ground reference via a switch 372. The capacitors 362 and 361 form a capacitor set. The switch 353 is connected to a first terminal of a first capacitor 363. A second terminal of the first capacitor 363 is connected to the ground reference via a switch 373. A switch 382 is connected in between the second terminal of the capacitor 362 and the first terminal of the capacitor 361. A switch 383 is connected in between the first terminal of the capacitor 362 and the first terminal of the first capacitor 363. A switch 393 is connected in between the second terminal of the first capacitor 363 and a first terminal of a second capacitor 365. A second terminal of the second capacitor 365 is connected to the ground reference. When the switching signal V_(G) is enabled (turned on), the switches 351, 352 and 372 are controlled by a control signal S₁ for generating a first-sampled signal V₁ across the capacitors 361 and 362 during the first period. The switches 353 and 373 are controlled by a control signal S₂ for generating a second-sampled signal V₂ across the first capacitor 363. The switches 382, 383 and 393 are controlled by a control signal S₅ for generating the continuous-current signal V_(A) in accordance with the first sampled-signal V₁ and the second-sampled signal V₂. The continuous-current signal V_(A) can be shown by, V _(A) =V ₁−(V ₂ −V ₁) V _(A)=(2×V ₁)−V ₂  (14) The continuous-current signal V_(A) is proportional to the amplitude of the current I_(PB) as shown in FIG. 2.

FIG. 5 illustrates a schematic circuit diagram of the peak detector 450. A comparator 451 has a positive input coupled to receive the switching-current signal V_(S). The amplitude of the switching-current signal V_(S) is proportional to the amplitude of the primary-side switching current I_(P). A capacitor 465 is used to hold the peak value of the switching-current signal V_(S). A negative input of the comparator 451 is coupled to the capacitor 465. A constant current source 452 is applied to charge the capacitor 465. A switch 453 is coupled between the constant current source 452 and the capacitor 465. The switch 453 is turned on/off by an output of the comparator 451. A peak-voltage signal V₃ is thus generated across the capacitor 465. The peak-voltage signal V₃ is proportional to a sum current of I_(PA) and I_(PB) shown in FIG. 2. A transistor 467 is coupled in parallel with the capacitor 465 to discharge the capacitor 465. A switch 478 is used for periodically conducting the peak-voltage signal V₃ from the capacitor 465 to a capacitor 479. Then a peak-current signal V_(B) is obtained across the capacitor 479. The waveforms of control signals S₁, S₂ and S₅ and signals V₁, V₂ and V₃ are shown in FIG. 6.

FIG. 7 illustrates a schematic circuit diagram of the integration circuit 500 according to an embodiment of the present invention. An operational amplifier 510, a resistor 511 and a transistor 512 construct a first V-to-I converter to generate a first programmable current I₅₁₂ in response to the voltage amplitude of the continuous-current signal V_(A). Transistors 514, 515 and 519 form a first current mirror for producing a current I₅₁₅ and a first-charge current I₅₁₉ by mirroring the first programmable current I₅₁₂. Transistors 516 and 517 form a second current mirror for generating a current I₅₁₇ by mirroring the current I₅₁₅. The first V-to-I converter, the first current mirror, and the second current mirror form a first V-to-I circuit 501.

An operational amplifier 530, a resistor 531 and a transistor 532 form a second V-to-I converter for generating a second programmable current I₅₃₂ in response to the voltage amplitude of the peak-current signal V_(B). Transistors 534 and 535 form a third current mirror for producing a current I₅₃₅ by mirroring the second programmable current I₅₃₂. Transistors 536 and 537 develop a fourth current mirror for producing a current I₅₃₇ in response to the current I₅₃₅ and the current I₅₁₇. The current I₅₃₆ can be expressed by, I ₅₃₆ =I ₅₃₅ −I ₅₁₇ Since the geometric size of the transistor 536 is twice the size of the transistor 537, the amplitude of the current I₅₃₇ will be the amplitude of the current I₅₃₆ divided by 2. Transistors 538 and 539 form a fifth current mirror for generating a second-charge current I₅₃₉ by mirroring the current I₅₃₇. The second V-to-I converter, the third current mirror, the fourth current mirror, and the fifth current mirror form a second V-to-I circuit 502.

The drains of the transistor 519 and the transistor 539 are coupled together for generating an average signal I_(AVG) by summing the first-charge current I₅₁₉ and the second-charge current I₅₃₉. The average signal I_(AVG) can be expressed by,

$\begin{matrix} {I_{AVG} = {\frac{V_{A}}{R_{511}} + \frac{\left( {\frac{V_{B}}{R_{531}} - \frac{V_{A}}{R_{511}}} \right)}{2}}} & (15) \end{matrix}$

The resistor 511, the resistor 531 and a charge capacitor 570 determine the time constant of the integration circuit 500. The resistor 531 is correlated to the resistor 511. As the resistance of the resistor 531 is set to be equal to the resistance of the resistor 511, the equation (15) can be thus rewritten as,

$\begin{matrix} {I_{AVG} = {\frac{1}{R_{511}} \times \left( {V_{A} + \frac{V_{B} - V_{A}}{2}} \right)}} & (16) \end{matrix}$

An integrated switch 550 is coupled between the drain of the transistor 519 and the charge capacitor 570. The integrated switch 550 is turned on only during the off time T_(OFF) period of the switching signal V_(G). A transistor 560 is coupled in parallel with the charge capacitor 570 to discharge the charge capacitor 570. An output switch 551 serves to periodically conduct the voltage across the charge capacitor 570 to an output capacitor 571. The average-current signal V_(I) is therefore obtained across the output capacitor 571.

$\begin{matrix} {V_{I} = {\frac{1}{R_{511}C_{570}} \times \left( {V_{A} + \frac{V_{B} - V_{A}}{2}} \right) \times T_{OFF}}} & (17) \end{matrix}$

FIG. 8 illustrates a schematic diagram of the oscillator 200 according to an embodiment of the present invention. An operational amplifier 201, a resistor 210 and a transistor 250 form a third V-to-I converter. The third V-to-I converter generates a reference current I₂₅₀ in response to a reference voltage V_(REF). A plurality of transistors, such as 251, 252, 253, 254 and 255 form current mirrors for generating a charging current I_(C) and a discharging current I_(D) in accordance with the reference current I₂₅₀. A drain of the transistor 253 generates the charging current I_(C). A drain of the transistor 255 draws the discharging current I_(D). A switch 230 is coupled between the drain of the transistor 253 and a capacitor 215. A switch 231 is coupled between the drain of the transistor 255 and the capacitor 215. The ramp signal RMP is obtained across the capacitor 215. A comparator 205 has a positive input connected to the capacitor 215. The comparator 205 outputs an oscillation signal PLS. The oscillation signal PLS determines the switching frequency and turns on/off the switches 231 and 233. A first terminal of a switch 232 is supplied with a high-threshold voltage V_(H). A first terminal of a switch 233 is supplied with a low-threshold voltage V_(L). A second terminal of the switch 232 and a second terminal of the switch 233 are both coupled to a negative input of the comparator 205. An input of an inverter 260 is coupled to an output of the comparator 205 for generating an inverse oscillation signal/PLS. The inverse oscillation signal /PLS turns on/off the switch 230 and the switch 232. The resistance R₂₁₀ of the resistor 210 and the capacitance of the capacitor 215 determine the switching period T of the switching signal V_(G).

$\begin{matrix} {T = {\frac{C_{215} \times V_{OSC}}{V_{REF}/R_{210}} = {R_{210} \times C_{215} \times \frac{V_{OSC}}{V_{REF}}}}} & (18) \end{matrix}$ where V_(OSC)=V_(H)−V_(L) and C₂₁₅ is the capacitance of the capacitor 215. The average-current signal V_(I) is correlated to the secondary-side switching current I_(S) and the output current I_(O) of the power converter. Thus, the equation (11) can be rewritten as,

$\begin{matrix} {V_{I} = {m \times \frac{T_{NS}}{T_{NP}} \times R_{S} \times I_{O}}} & (19) \end{matrix}$ where T_(NP) is the turns of the primary winding N_(P), T_(NS) is the turns of the secondary winding N_(P), and m is a constant, which can be determined by,

$\begin{matrix} {m = {\frac{R_{210} \times C_{215}}{R_{511} \times C_{570}} \times \frac{V_{OSC}}{V_{REF}}}} & (20) \end{matrix}$

The resistance R₅₁₁ of the resistor 511 is correlated to the resistance R₂₁₀ of the resistor 210. The capacitance C₅₇₀ of the charge capacitor 570 is correlated to the capacitance C₂₁₅ of the capacitor 215. Therefore, the average-current signal V_(I) will be proportional to the output current I_(O) of the power converter.

It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention covers modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents. 

1. A control circuit, for measuring and controlling an output current of a power converter, said control circuit comprising: a detection circuit, for generating a continuous-current signal and a peak-current signal by detecting a switching-current signal of a transformer; an integration circuit, for generating an average-current signal in response to said continuous-current signal, said peak-current signal and an off time of a switching signal, wherein integration circuit comprises: a first V-to-I circuit, for generating a first-charge current in response to said continuous-current signal; a second V-to-I circuit, for generating a second-charge current in response to said peak-current signal; a charge capacitor; and an integrated switch, coupled to charge said charge capacitor using said first-charge current signal and said second-charge current signal when said switching signal is disabled; and a switching control circuit, for generating said switching signal in response to said average-current signal, wherein said switching signal is coupled to switch said transformer and regulate said output current of said power converter.
 2. The control circuit as claimed in claim 1, further comprising an oscillator to generate an oscillation signal for determining a switching frequency of said switching signal.
 3. The control circuit as claimed in claim 1, a time constant of said integration circuit being correlated with a switching period of said switching signal.
 4. The control circuit as claimed in claim 1, said detection circuit comprising: a sampling circuit, for generating said continuous-current signal by measuring a continuous current of said switching-current signal; and a peak detector, for generating said peak-current signal by measuring a peak value of said switching-current signal.
 5. The control circuit as claimed in claim 1, said integration circuit comprising: an output capacitor, for generating said average-current signal; and an output switch, for periodically conducting a voltage across said charge capacitor to said output capacitor.
 6. The control circuit as claimed in claim 4, said sampling circuit comprising: a capacitor set, coupled to receive said switching-current signal of said transformer for generating a first-sampled signal at a first period when said switching signal is enabled; a first capacitor, coupled to receive said switching-current signal of said transformer for generating a second-sampled signal at a second period when said switching signal is enabled; and a second capacitor, coupled to said capacitor set and said first capacitor for generating said continuous-current signal in accordance with said first-sampled signal and said second-sampled signal.
 7. A method for measuring and controlling an output current of a power converter, comprising the steps of: generating a continuous-current signal and a peak-current signal by a detection of a switching current of an inductive device; generating an average-current signal by an integration of said continuous-current signal, said peak-current signal with an off time of a switching signal; generating a first-charge current in response to said continuous-current signal; generating a second-charge current in response to said peak-current signal; charging a charge capacitor using said first-charge current signal and said second-charge current signal when said switching signal is disabled; and generating said switching signal in response to said average-current signal; wherein said switching signal is coupled to switch said inductive device of said power converter.
 8. The method as claimed in claim 7, further comprising a step of generating an oscillation signal for determining a switching frequency of said switching signal.
 9. The method as claimed in claim 7, a time constant of said integration being correlated with a switching period of said switching signal.
 10. The method as claimed in claim 7, said detection of said switching-current signal of said inductive device, comprising: generating said continuous-current signal by sampling a continuous current of said switching-current signal; and generating said peak-current signal by detecting a peak current of said switching-current signal.
 11. The method as claimed in claim 7, said integration comprising: periodically conducting a voltage across said charge capacitor to an output capacitor for generating said average-current signal.
 12. The method as claimed in claim 10, said sampling of a continuous current of said switching-current signal, comprising: conducting a first-sampled signal to a capacitor set at a first period when said switching signal is enabled; conducting a second-sampled signal to a first capacitor at a second period when said switching signal is enabled; and forming said continuous-current signal across a second capacitor in accordance with said first-sampled signal and said second-sampled signal. 